import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import axios from 'axios'

Vue.config.productionTip = false
// axios.defaults.baseURL = process.env.VUE_APP_URL
axios.baseURL = process.env.VUE_APP_URL
// Vue.prototype.$http = axios

axios.get('/api/napi/wap/pic?query=%E5%8A%A8%E5%9B%BE%20%E8%A1%A8%E6%83%85&start=96&xml_len=48').then(res => {
  console.log(res)
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
